.body-wrap .CodeMirror-scroll {
    max-height: none;
}

.body-wrap {
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.tab {
    padding: 10px;
    padding-bottom: 1px;
    flex: none;
    &:after {
        content: "";
        display: block;
        clear: both;
    }
    a,
    .run {
        display: inline-block;
        padding: 2px 8px;
        margin-bottom: 10px;
        font-size: 14px;
        font-weight: 400;
        line-height: 1.42857143;
        text-align: center;
        white-space: nowrap;
        vertical-align: middle;
        -ms-touch-action: manipulation;
        touch-action: manipulation;
        cursor: pointer;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        background-image: none;
        border: 1px solid transparent;
        border-radius: 4px;
        float: left;
        margin-right: 10px;
    }
    a {
        color: #333;
        background-color: #fff;
        border-color: #ccc;
    }
    .run {
        margin-right: 30px;
        color: #fff;
        background-color: #5cb85c;
        border-color: #4cae4c;
        &:hover {
            color: #fff;
            background-color: #449d44;
            border-color: #398439;
        }
    }
    a {
        position: relative;
        &::after {
            content: attr(href);
            //white-space: pre-wrap;
            display: none;
            z-index: 9;
        }
        &:hover {
            &::after {
                display: block;
                position: absolute;
                left: 0;
                top: 110%;
                padding: 2px 4px;
                color: #666666;
                background: #EEEEEE;
                border: 1px solid #CCCCCC;
                border-radius: 2px;
            }
        }
    }
    a.active{
        color: #007DDB;
    }
}

.view {
    flex: auto;
    display: flex;
}

.code-text-w,
.code-view-w {
    flex: auto;
    width: 50%;
    margin: 0;
    padding: 5px;
}

.code-text-w {
    border-color: #CCCCCC;
    border-style: solid;
    border-width: 1px 1px 1px 0;
}

.code-view-w {
    border-color: #CCCCCC;
    border-style: solid;
    border-width: 1px 0 1px 0;
}

.code-text {
    width: 100%;
}

.code-view {
    width: 100%;
    height: 100%;
}